home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'A glowing neon effect',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_MagnifyingLens():
- return {
- 'Bound': (0.17125,0.0616667,0.82375,0.931667),
- 'Darkness': 80,
- 'Defocus': 0,
- 'Frame': {
- 'FrameColor': (149,224,88),
- 'Material': App.Constants.LensFrameMaterial.BrightBronze,
- 'Style': App.Constants.LensFrameShape.Circular,
- 'Thickness': 2
- },
- 'Illumination': {
- 'LightList': [{
- 'LightColor': (100,212,211),
- 'LightDirection': (-0.811302,0.321879,-0.488039),
- 'HighlightSize': 31
- },{
- 'LightColor': (100,212,211),
- 'LightDirection': (0.308698,0.441879,-0.842288),
- 'HighlightSize': 31
- },{
- 'LightColor': (100,212,211),
- 'LightDirection': (-0.451302,-0.518121,-0.726551),
- 'HighlightSize': 28
- },{
- 'LightColor': (0,255,255),
- 'LightDirection': (0.73735,-0.54265,-0.402301),
- 'HighlightSize': 20
- }],
- 'MaxAmbience': 94,
- 'MinAmbience': 9
- },
- 'LensSurface': {
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 22,
- 'Magnification': 32,
- 'LensMaterial': {
- 'Color': (1,255,150),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'LensOpacity': 31,
- 'Refraction': 22,
- 'ShapeType': App.Constants.LensShape.Spherical,
- 'Shininess': 22
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'MagnifyingLens', Preset_MagnifyingLens())
-
-